import { defineStore } from "pinia";
import { useUserBaseStore } from "./user-base";

export const useUserStore = defineStore("user", () => {
  const userBase = useUserBaseStore();
  return {
    getUser: userBase.getUser,
    getUsers: userBase.getUsers,
    deleteUser: userBase.deleteUser,
    saveUser: userBase.saveUser,
    getRole: userBase.getRole,
    getRoles: userBase.getRoles,
    saveRole: userBase.saveRole,
    deleteRole: userBase.deleteRole,
  };
});
